package com.cwj;

/**
 * @author wujie.chen
 * 2021/9/26 16:25
 */
public class HelloA {
    public HelloA() {
//        this("有参构造");
        System.out.println("A的构造函数");
    }
    public HelloA(String a) {
        System.out.println(a);
    }
    {
        System.out.println("A的构造代码块");
    }
    static {
        System.out.println("A的静态代码块");
    }
    public static void main(String[] args) {
        new HelloA();
        char c = Character.MAX_VALUE;
        short s = Short.MAX_VALUE;
        int i = c * s;
        System.out.println(Integer.toHexString(i));
    }
}
